<?php get_header(); ?>
    <section class="content-wrap">
        <div class="hotnews">
            <p class="controller">
                <a href="#rewind" class="rewind">Trước</a>
                <a href="#forward" class="forward">Sau</a>
            </p>
            <label>Tin mới</label>
            <ul>
                <?php if (have_posts()) : while (have_posts()) : the_post();?>
                    <li><a href="<?php the_permalink();?>" title=""><?php the_title();?></a></li>
                <?php endwhile;?>
                <?php endif;?>
            </ul>
            <time datetime="2014-07-03 10:27+0700" pubdate="">Cập nhật  10:27 ngày 03/07/2014</time>
        </div><!--End.hotnews-->
        <section id="content" class="article_content pictures_layout">
            <?php if (have_posts()) : while (have_posts('posts_per_page=1')) : the_post();?>
                    <header>
                        <p class="cate" itemprop="articleSection"><?php $getcat = get_the_category(); echo $getcat[0]->cat_name;?></p>
                        <time datetime="<?php the_time('jS F Y'); ?>"><?php the_time('jS F Y'); ?></time>
                        <h1 itemprop="name"><?php the_title(); ?></h1>
                        <!-- Summary -->
                        <div class="summary">
                            <p itemprop="description"><?php echo get_the_excerpt();?></p>
                        </div>
                    </header>
                    <article>
                        <div class="content" itemprop="articleBody">
                            <?php the_content($post -> ID);?>
                        </div>
                    </article>
            <?php endwhile; endif; //End <a href="http://thachpham.com/wordpress/wordpress-development/tim-hieu-wordpress-query-va-loop.html" title="Loop">Loop</a> ?>
        </section><!--end section.content-->
    </section><!--end section.content-wrap-->
    <?php get_sidebar(); ?>
<?php get_footer(); ?>